<%inherit file="/base.html"/>

<%def name="main_heading()">${c.record}</%def>

<%def name="content()">

% if c.record.appointments:
	<h3>${_('Appointments')}:</h3>
	% for appointment in c.record.appointments:
	<p>
		<a href="${url(controller='career/appointments', action='edit', relation='employee', id=appointment.employee_id, record_id=appointment.id)}">${appointment}</a>
	</p>
	% endfor
% endif

% if c.record.dismissals:
	<h3>${_('Dismissals')}:</h3>
	% for dismissal in c.record.dismissals:
	<p>${dismissal}</p>
	% endfor
% endif

% if c.record.rankings:
	<h3>${_('Ranking')}:</h3>
	% for ranking in c.record.rankings:
	<p>
		<a href="${url(controller='career/rankings', action='edit', relation='employee', id=ranking.employee_id, record_id=ranking.id)}">${ranking}</a>
	</p>
	% endfor
% endif

% if c.record.awards:
	<h3>${_('Awards')}:</h3>
	% for award in c.record.awards:
	<p>${award}</p>
	% endfor
% endif

</%def>